import 'package:app/view_model/query_model.dart';
import 'package:app/widget/provider_widget.dart';
import 'package:app/widget/tap_appbar.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/screenutil.dart';
class EngineeringQuery extends StatefulWidget {
  @override
  _EngineeringQueryState createState() => _EngineeringQueryState();
}

class _EngineeringQueryState extends State<EngineeringQuery> {
  @override
  void initState() {
    // TODO: implement initState
    new QueryModel().getHttpData();
  }
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: TapAppBar(TapViewBar(Text("工程查询"),icon:Icon(Icons.arrow_back)), Size.fromHeight(ScreenUtil().setHeight(80))),
      body: ProviderWidget<QueryModel>(
        model: QueryModel(),builder:(context,model,child){

        return SingleChildScrollView(
          child: Column(
            children: <Widget>[
            ],
          ),
        );
      } ,
      ),
    );
  }
}

